package org.pskovgu.pskovbus;

public class Station {
	private long id;
	private String name;
	private String inner_name;
	private String number;
	
	public void setName(String name) {
		this.name = (name!=null)?name:"DFLT";
	}

	public void setNumber(String number) {
		this.number = (number!=null)?number:"DFLT";
	}
	
	public void setInnerName(String inner_name) {
		this.inner_name = (inner_name!=null)?inner_name:"DFLT";
	}

	
	
	
	public void setId(long id)
	{
		this.id = id;
	}
	
	public long getId()
	{
		return id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public String getNumber()
	{
		return number;
	}
	
	public String getInnerName() {
		return inner_name;
	}

	
	
	public String toString()
	{
		return name.toLowerCase();
	}

	

	
	
	

}
